Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SearchBuilder extensions #342

Closed
wants to merge 3 commits into from

Conversation

robiinho
Copy link

Add one necessary file and add informations in the documentation on how to use it.

Allow the usage of SearchBuilder plugin, and deal with DateTimeInterface Format .

# Use:

            'criteria' => [
                new SearchBuilderCriteriaProvider($request),
                new SearchCriteriaProvider(),
            ],

Doctrine extension are needed: https://github.com/beberlei/DoctrineExtensions/tree/master

# To enable extensions
    orm:
        dql:
            datetime_functions:
                date: DoctrineExtensions\Query\Mysql\Date
                year: DoctrineExtensions\Query\Mysql\Year
                yearmonth: DoctrineExtensions\Query\Mysql\YearMonth
Copy link

codecov bot commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.56%. Comparing base (6c3b3dc) to head (2c2a1c8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #342   +/-   ##
=======================================
  Coverage   94.56%   94.56%           
=======================================
  Files          37       37           
  Lines         975      975           
=======================================
  Hits          922      922           
  Misses         53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robiinho robiinho closed this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant